home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
c
/
pro14
/
bm.h
< prev
next >
Wrap
Text File
|
1986-04-02
|
512b
|
15 lines
#define FIRSTCHAR ' '
#define MAXCHAR 0377
#define MAXBUFF 8192
#define MAXSIZE 100
#define MAXPATS 100 /* max number of patterns */
#define min(x,y) (x) < (y) ? (x) : (y)
#define max(x,y) (x) > (y) ? (x) : (y)
struct PattDesc {
int *Skip1, *Skip2; /* pointers to skip tables */
char *Pattern;
int PatLen; /* pattern length */
char *Start; /* starting position of search (at beginning of pattern) */
int Success; /* true when pattern found */
};